package cn.gmcx.lazy.izze.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum GenderMeun {

    MAN("男",0),
    WOMAN("女",1),
    DEFULT("保密",2),
    ;
    @JsonValue
    private String gender;
    @EnumValue
    private Integer code;

    GenderMeun(String gender, Integer code) {
        this.gender = gender;
        this.code = code;
    }

}
